<?php if( $sf_user->isAuthenticated() ):?>
	<div class="login">
		<div class="logintext"><p><a href="<?php echo LinkGen::getInstance(LinkGen::SIGN_IN)->specialLink('memberzone') ?>"><?php echo __('Hello, %s', array('%s' => $sf_user->getObject()->getName())) ?></a></p></div><br/>
		<div class="logintext"><p><a href="<?php echo LinkGen::getInstance(LinkGen::SIGN_IN)->link(null, array('action' => 'logOut')) ?>"><?php echo __('Logi välja') ?></a></p></div>
		<div class="logarrow"><img src="/project_css_js/img/arrow.png" width="4" height="7" alt=""/></div>
		<div class="clear"></div>
	</div>
<?php else:?>
	<div class="login">
		<div class="logintext"><p><a href="<?php echo LinkGen::getInstance(LinkGen::SIGN_IN)->specialLink('login') ?>"><?php echo __('Logi sisse hulgikliendina') ?></a></p></div>
		<div class="logarrow"><img src="/project_css_js/img/arrow.png" width="4" height="7" alt=""/></div>
		<div class="clear"></div>
	</div>
<?php endif;?>